#include "GetUserInput.h"
#include "GutInput.h"
#include "Gut.h"
#include "GutWin32.h"
#include <stdio.h>
#include <windows.h>
#include "render_data.h"

void GetUserInput()
{
	GetCursorPos(&mouse_state);
	ScreenToClient(GutGetWindowHandleWin32(),&mouse_state);
	GutMouseInfo mouse;
	GutReadMouse(&mouse);
	mouse_state.x+=mouse.x;
	mouse_state.y+=mouse.y;
	if (mouse.button[0]){printf("Left Click\n");printf("Position:%d,%d",mouse_state.x,mouse_state.y);}
	if (mouse.button[1])printf("Right Click\n");
	if (mouse.button[2])printf("Middle Click\n");
//	printf("Position:%d,%d",mouse.x,mouse.y);
	




}